﻿using CloudMusic.View;
using CloudMusic.ViewModel;
using System.Windows.Controls;

namespace CloudMusic.API
{
    /// <summary>
    /// 页面管理器
    /// </summary>
    public class PageManager
    {
        #region 本地音乐
        private static PageLocalMusic pageLocalMusic;
        /// <summary>
        /// 本地音乐
        /// </summary>
        public static PageLocalMusic PageLocalMusic
        {
            get
            {
                if (pageLocalMusic == null)
                {
                    //只会被构造一次
                    pageLocalMusic = new PageLocalMusic();
                }
                return pageLocalMusic;
            }
            set { pageLocalMusic = value; }
        }

        public static Page PageDownLoad = new PageDownLoad();
        #endregion

        public static PageEmpty PageEmpty = new PageEmpty();

        public static PageCloudMusic PageCloudMusic = new PageCloudMusic();

        public static PageCollection PageCollection = new PageCollection();

        public static PageFindMusic PageFindMusic = new PageFindMusic();

        public static PageLookLive PageLookLive = new PageLookLive();

        public static PageAlbumInfo PageAlbumInfo = new PageAlbumInfo(new PageAlbumInfoViewModel());

        //public static PageBoutiqueSheet PageBoutiqueSheet = new PageBoutiqueSheet();

        public static PageDaySongs PageDaySongs = new PageDaySongs();

        public static PageDJInfo PageDJInfo = new PageDJInfo(new PageDJInfoViewModel());

        public static PageDJInfoDetail PageDJInfoDetaill = new PageDJInfoDetail();

        public static PageDJRadioDetail PageDJRadioDetail = new PageDJRadioDetail();

        public static PageMv PageMv = new PageMv();

        public static PageMvInfo PageMvInfo = new PageMvInfo();

        public static PageSingerInfo PageSingerInfo = new PageSingerInfo(new PageSingerInfoViewModel());

       // public static PageSongSheetDetail PageSongSheetDetail = new PageSongSheetDetail(new PageSongSheetDetailViewModel(),0,1);
    }
}
